package com.huangliusong.desigin.pattern.creational.builder;

/**
 * @author huangliusong
 * @since 2018/10/10
 * {@link }
 */
public class Test {
    public static void main(String[] args) {
        CourseBuilder courseBuilder=new CourseActualBuilder();
        Coach coach=new Coach();
        coach.setCourseBuilder(courseBuilder);
        Course course=coach.makeCourse(
                "课程名称",
                "ppt",
                "视频",
                "手记",

                "问题和答案");
        System.err.println(course);
    }
}
